<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/platform/include/include.jsp"%>
<%@page import="com.zx.map.service.model.MerchantInfoModel"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="common" uri="/WEB-INF/tld/common_el.tld"%>
<html>
<head>
<TITLE><c:out value="${_LOGONUSER_.MANAGETITILE}" /></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<%@ include file="/jsp/platform/include/header.jsp"%>
</HEAD>
<BODY>
		<DIV class="mains">
			<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
				<TBODY>
					<TR valign="top">
						<TD>
							<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
								
								<TR>
									<TD>
										<div class="pages_con">
											<!--创建页面-->

								<TR>
									<TD>
										<div class="pages_con">
											

												<div class="pages_con_20">

													<TABLE class="table" style="font-size:12px;">

														<THEAD style="color:#333">
															<TBODY>
																<TR>
																	<TD><span class="tdbold">基本信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			

																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">商户名称：</SPAN>
																				<INPUT name="merchantName"  disabled="disabled" value=" ${model.merchantName}" 
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="merchantName" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">经营地址：</SPAN>
																					<INPUT name="merchantAddr"  disabled="disabled"  value=" ${model1.address}" 
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="merchantAddr" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>

																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">法人姓名：</SPAN>
																				<INPUT name="legalName"  disabled="disabled"
																				value=" ${model1.realName}" 
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="legalName" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">法人证件号：</SPAN>
																					<INPUT name="legalIdentityno"  disabled="disabled"
																					value=" ${model1.identifyNo}"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="legalIdentityno" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">门店分类：</SPAN>
																				<INPUT name="bussinessScope"  disabled="disabled"
																				    value=" ${model1.storeType}"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="bussinessScope" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">联系电话：</SPAN>
																					<INPUT name="telephone"  disabled="disabled"
																					 value=" ${model.telephone}"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="telephone" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">产品类型：</SPAN>
																				<INPUT name="productType"  disabled="disabled"
																				    value="<common:getDicByCode key="2140" value="${model.productType}"/>"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="productType" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">门店属性：</SPAN>
																					<INPUT name="merchantType"  disabled="disabled"
																					 value="<common:getDicByCode key="2150" value="${model1.storeProperty}"/>"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="merchantType" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																		</DIV>
																	</TD>
																</TR>
																<TR>
																	<TD><span class="tdbold">账户信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">系统账号：</SPAN>
																				<INPUT name="sysAccount"  disabled="disabled"
																				 value=" ${model.sysAccount}"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="sysAccount" type="text"> <span
																					class="reds f_l">*</span>
																			</DIV>
																		</DIV>
																		<DIV class="clearfix"></DIV>
																	</TD>
																</TR>
																<TR>
																	<TD><span class="tdbold">结算信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">开户行：</SPAN> <INPUT
																					name="depositBank"  disabled="disabled"
																					 value="<common:getDicByCode key="2100" value="${model2.depositBank}"/>"  
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="depositBank" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">开户行支行：</SPAN>
																					<INPUT name="depositBankbranch"  disabled="disabled"
																					 value=" ${model2.depositBankbranch}"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="depositBankbranch" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">开户名：</SPAN> <INPUT
																					name="bankUsrname"  disabled="disabled"
																					value=" ${model1.realName}"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="bankUsrname" type="text"> <span
																					class="reds f_l">*</span> <SPAN
																					class="label cz_label "
																					style="width:120px;text-align:right;">开户账号：</SPAN>
																					<INPUT name="bankAccount"  disabled="disabled"
																					value=" ${model1.settlementAccount}"
																					class="txtbox_cz txtbox_cz_color input_change"
																					id="bankAccount" type="text"> <span
																						class="reds f_l">*</span>
																			</DIV>																			
																			<DIV class="clearfix"></DIV>
																			
																		</DIV>
																	</TD>
																</TR>
																<TR>
																	<TD><span class="tdbold">证件信息</span></td>
																</tr>
																<TR>
																	<TD>
																		<DIV class="transaction_external">
																			<DIV class="clearfix" id="file1Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">营业执照：</SPAN>
																					<div><IMG  width="300" height="400"  alt="营业执照"  style="cursor:pointer"
																				 src="${model1.businessLicenseImg}"></div>
																			</DIV>
																			<br/>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix" id="file2Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">手持营业执照：</SPAN>
																				<div><IMG  width="300" height="400"  alt="手持营业执照" style="cursor:pointer"
																				src="${model1.holdLicenseImg}"></div>
																			</DIV>
																			<br/>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix" id="file3Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">室内照：</SPAN>
																				<div><IMG  width="300" height="400"  alt="室内照" style="cursor:pointer"
																				src="${model1.storeInImg}"></div>
																			</DIV>
																			<br/>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix" id="file4Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">室外照：</SPAN>
																				<div><IMG  width="300" height="400"  alt="室外照" style="cursor:pointer"
																				src="${model1.storeOutImg}"></div>
																			</DIV>
																			<br/>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix" id="file5Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">身份证正面照：</SPAN>
																				<div><IMG  width="300" height="400"  alt="身份证正面照" style="cursor:pointer"
																				src="${model1.idPositiveImg}"></div>
																			</DIV>
																			<br/>
																			<DIV class="clearfix"></DIV>
																			<DIV class="clearfix" id="file6Div" name="fileDiv">
																				<SPAN class="label cz_label "
																					style="width:120px;text-align:right;">身份证反面照：</SPAN>
																				<div><IMG  width="300" height="400"  alt="身份证反面照" style="cursor:pointer"
																				src="${model1.idNegativeImg}"></div>
																			</DIV>
																			<br/>
																		</DIV>
																	</TD>
																</TR>
															</TBODY>
													</TABLE>
												</div>
										</div></TD>
								</TR>
								<!--结束-->
							</TABLE></TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>

</BODY>
</HTML>
<script type="text/javascript">
   <!--  $(window).bind("load",function(){
        var merchantType = "${model.merchantType}";
       	$("div[name='fileDiv']").hide();
       	if(merchantType == "1"||merchantType=="2"){
       		  $("#file1Div").show();
        	  $("#file2Div").show();
        	  $("#file3Div").show();
        	  $("#file4Div").show();
        	  $("#file5Div").show();
        	  $("#file6Div").show();
        	  $("#file7Div").show();
        	  $("#file8Div").show();
        	  $("#file9Div").show();
       	}else if(merchantType == "3"){
       	  $("#file1Div").show();
       	  $("#file2Div").show();
       	  $("#file3Div").show();
       	  $("#file4Div").show();
       	  $("#file5Div").show();
       	  $("#file6Div").show();
       	  $("#file7Div").show();
       	  $("#file8Div").show();
       	  $("#file9Div").show();
       	}
    });-->
	function myparser(s) {
		if (!s)
		return new Date();
		var ss = (s.split('-'));
		var y = parseInt(ss[0], 10);
		var m = parseInt(ss[1], 10);
		var d = parseInt(ss[2], 10);
		if (!isNaN(y) && !isNaN(m) && !isNaN(d)) {
			return new Date(y, m - 1, d);
		} else {
			return new Date();
		}
	}
</script>
